package com.secxiot.provider.task.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@ApiModel
@Data
@ToString
public class TaskSosDto  implements Serializable {

    private static final long serialVersionUID = -489210883504367359L;

    @ApiModelProperty(value = "发送者id", required = true)
    @NotNull
    private Long senderId;

    @ApiModelProperty(value = "发送者姓名", required = true)
    @NotBlank
    private String senderName;

    @ApiModelProperty(value = "经度", required = true)
    @NotNull
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度", required = true)
    @NotNull
    private BigDecimal latitude;

    @ApiModelProperty(value = "详细地址", required = true)
    @NotBlank
    private String address;
    
    @ApiModelProperty(value = "疾病诊断", required = true)
    private String diagnosis;

    @ApiModelProperty(value = "微信appId", required = true)
    private String wxAppId;
}
